/*
 * @Description: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2022-09-14 10:51:59
 * @LastEditors: GGB
 * @LastEditTime: 2022-09-15 10:33:33
 */
import { axios } from '@/utils/request'

/**
 * api接口列表
 */
const api = {
  detail: '/admin.user/detail',
}

/**
 * 获取当前登录的用户信息
 */
export function getInfo() {
  return axios({
    url: api.detail,
    method: 'get',
  })
}
